<% form_remote_tag(:url => {:controller => 'parameter', :action => params[:act]}, :loading => "TrackSuite.ajax.loadding('parameter_submit','ajax20.gif');") do %>
<%= hidden_field_tag "act", params[:act] %>  
<%= hidden_field "parameter", "id" %>
<%= hidden_field "parameter", "module" %>
<%= error_messages_for "parameter" %>
<table border="1">
<thead>
    <tr><td>Inclusão e alteração de parametros</td></tr>
</thead>
<tbody>
    <tr><td>Name:</td></tr>
    <tr><td><%= text_field "parameter", "name" %></td></tr>
    <tr><td>Descrição:</td></tr>
    <tr><td><%= text_field "parameter", "description" %></td></tr>
    <tr><td>Valor: (Cada linha representa um valor)</td></tr>
    <tr><td><%= text_area "parameter", "value" %></td></tr>
</tbody>
<tfoot>
    <tr>
        <td colspan="4" align="right">
          <span id="parameter_submit"><%= image_submit_tag "/images/icons/ok.png" %></span> 
          <%= link_to_function(image_tag("/images/icons/cancel.png", :border => "0"), "TrackSuite.util.element.hide('parameter_form')") %>
        </td>
    </tr>
</tfoot>
</table>
<% end %>
